package login;

/**
 * Created by RaysMac on 14. 12. 12..
 */
public class Users {
    public static User[] users= new User[]{
            new User("test1","1234","개똥이",24),
            new User("test2","4567","소똥이",26),
            new User("test3","7890","말똥이",29)
    };

    public static User getUsers(String id){
        for(User user : users){
            if(user.id.equals(id)) return user;
        }
        return null;
    }

}
